<!--
 * @Author: your name
 * @Date: 2022-01-20 10:58:49
 * @LastEditTime: 2022-01-20 11:24:16
 * @LastEditors: DESKTOP-EH1PJNP
 * @Description: 字体规则
 * @FilePath: \xxtx_ui-demod:\Qweb\html\html\day03\2-font.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体规则</title>
    <style>
        html {
      font: normal normal 14px/1.2 '宋体','微软雅黑';
    }
        .one {
      background-color: lightpink;
      font-size: 12px;
      font-family: '宋体','Microsoft Yahei';
      font-weight: bolder;
      font-style: italic;
      color: #333;
      line-height: 3em;   /*3 * 12 = 36*/
      line-height: 3rem;   /*3 * 14 = 42*/
    }
    </style>
</head>
<body>
    <div class="one">我校召开党史学习教育总结会议</div>
    <div class="two">校园新闻</div>
</body>
</html>